<?php
class LinkIndexAction extends FrontendAction
{
	public function __construct()
	{
		parent::__construct();
		$this->responseType = 'tpl';
		$this->layout = 'index';
		$this->data['menu']	= 'list';
	}

	public function execute()
	{
		$linkService	= new LinkService();
		$list			= $linkService->getAll();
		$this->data['linkList']	= $list;
		
		$this->data['seo']['title']	= '友情链接';
	}
}
